/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package miage.sessions.persistant;

import java.rmi.RemoteException;
import java.util.Date;
import javax.ejb.FinderException;
import javax.ejb.Local;
import miage.entities.Client;
import miage.entities.Facture;

/**
 *
 * @author Pepito
 */
@Local
public interface FactureFacadeLocal {
    public miage.entities.Facture getFacture(int id_facture, java.lang.String login)throws FinderException, RemoteException ;
    public java.util.List<miage.entities.Facture> getAllFactureDuClient(String client)throws FinderException, RemoteException ;
    public java.util.List<miage.entities.Facture> getAllFactureBetweenToDateByClient(java.util.Date dateDebut, java.util.Date dateFin, java.lang.String login)throws FinderException, RemoteException ;
    public void addFacture(miage.beans.FacturePresentation laFacture) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException;
    public Facture getFactureByClientDate(String login, Date date)throws FinderException, RemoteException ; 

    public void addUneFacture(Facture facture);
}
